package com.elective.courseselect.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author lee
 * @date 2022年03月18日 21:02
 */
@AllArgsConstructor
@Getter
public enum CourseStatus {

    NORMAL(0,"正常"),
    COURSE_MODIFY(1,"修改中"),
    COURSE_FORBID(2,"禁用"),
    REJECTED(3,"驳回"),
    FIRST_TRIAL_TRIAL_PASS(4,"初审通过"),
    ;

    @EnumValue
    private final int code;
    private final String desc;
}
